package com.tender.desensitization.filter;

import java.lang.reflect.Field;
import java.time.temporal.Temporal;
import java.util.Date;

public class DateFieldFilter implements FieldFilter {
    @Override
    public boolean isMatch(Field field) {
        return Date.class.isAssignableFrom(field.getType())
                || Temporal.class.isAssignableFrom(field.getType());
    }
}